package com.lvmama.dashboard.dao.api;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lvmama.dashboard.entity.ApiSearchSpecial;

public interface IApiSearchSpecialDao {
	/**
	 * 查询所有接口信息
	 * @return
	 */
	public List<ApiSearchSpecial> queryAll(@Param("offset")int offset, @Param("limit")int limit);
	/**
	 * 根据api查询api信息
	 * @param api
	 * @return
	 */
	public ApiSearchSpecial queryByApi(@Param("api")String api);
	/**
	 * 新增
	 * @param apiSearchSpecial
	 * @return
	 */
	public int insert(ApiSearchSpecial apiSearchSpecial);
	/**
	 * 更新
	 * @param apiSearchSpecial
	 * @return
	 */
	public int update(ApiSearchSpecial apiSearchSpecial);
	/**
	 * 删除
	 * @param specialId
	 * @return
	 */
	public int delete(@Param("specialId")int specialId);
}
